<context-param> <param-name>javax.portlet.faces.RENDER_POLICY</param-name> <param-value>ALWAYS_DELEGATE</param-value> </context-param>
Different JSF View Declaration Languages require different behavior from the JBoss Portlet Bridge when it comes to rendering views. Instructing the Bridge on which policy to use is done using the javax.portlet.faces.RENDER_POLICY context-param in web.xml.
Include the following in web.xml:
<context-param> <param-name>javax.portlet.faces.RENDER_POLICY</param-name> <param-value>ALWAYS_DELEGATE</param-value> </context-param>
Include the following in web.xml:
<context-param> <param-name>javax.portlet.faces.RENDER_POLICY</param-name> <param-value>NEVER_DELEGATE</param-value> </context-param>
ALWAYS_DELEGATE: Indicates the Bridge should not render the view itself but rather always delegate the rendering.
NEVER_DELEGATE: Indicates the Bridge should always render the view itself and never delegate.
DEFAULT: Directs the Bridge to first delegate the render and if and only if an Exception is thrown then render the view based on its own logic. If the configuration parameter is not present or has an invalid value the Bridge renders using default behavior. I.e. as if DEFAULT is set.